﻿using Abp.Domain.Services;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;

namespace AVISOutBound.SSOServer.Authorization.Members
{
    public class ABGUserManager : UserManager<Member>, IDomainService
    {
        public ABGUserManager(IUserStore<Member> store,
            IOptions<IdentityOptions> optionsAccessor, 
            IPasswordHasher<Member> passwordHasher, 
            IEnumerable<IUserValidator<Member>> userValidators, 
            IEnumerable<IPasswordValidator<Member>> passwordValidators, 
            ILookupNormalizer keyNormalizer, 
            IdentityErrorDescriber errors, 
            IServiceProvider services, 
            ILogger<UserManager<Member>> logger) 
            : base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger)
        {
        }

        public override bool SupportsUserClaim => false;
        public override bool SupportsUserRole => false;
        public override bool SupportsUserLockout => false;
        public override bool SupportsUserTwoFactor => false;
    }
}
